package com.domain.service;

import com.domain.common.Result;
import com.domain.pojo.SmsCode;

public interface SmsCodeService {

    Result saveSmsCode(String phone, String code);

    /*验证手机号码得时效（五分钟）*/
    SmsCode checkSmsCodeTime(String phoneNumber, String smsCode);

    void delect(String id);
}
